package com.cefa.edu.common.result;

import java.io.Serializable;

/**
 * Created by qimwang on 8/7/17.
 */
public interface Result<T> extends Serializable {

    T getData();

    void setData(T t);

    ReturnMessage getError();

    void setError(ReturnMessage error);

}